package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @author 赵星
 * @version 1.0
 * @Date 2023/9/26 14:48
 */
public interface ShoppingCartService {
    void add(ShoppingCartDTO shoppingCartDTO);

    //查看购物车
    List<ShoppingCart> list();

    void clean();


    //删除一个购物车商品
    void cleanOne(ShoppingCartDTO shoppingCartDTO);
}
